package com.ruoyi.system.service.vantservice.teamservice.impl;

import com.ruoyi.system.domain.construction.CaseInfo;
import com.ruoyi.system.mapper.vant.team.ApiCaseInfoMapper;
import com.ruoyi.system.service.vantservice.teamservice.ApiCaseInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ApiCaseInfoServiceImpl implements ApiCaseInfoService {

    @Autowired
    private ApiCaseInfoMapper apicaseInfoMapper;

    @Override
    public CaseInfo selectCaseInfoById(Integer caseId) {
        return apicaseInfoMapper.selectCaseInfoById(caseId);
    }

    @Override
    public List<CaseInfo> selectCaseInfoList(CaseInfo caseInfo) {
        return apicaseInfoMapper.selectCaseInfoList(caseInfo);
    }

    @Override
    public List<CaseInfo> getCaseId(Long constructionId) {
        return apicaseInfoMapper.getCaseId(constructionId);
    }

    @Override
    public CaseInfo getId(Long constructionId) {
        return apicaseInfoMapper.getId(constructionId);
    }

    @Override
    public CaseInfo getParticularsId(Integer caseId) {
        return apicaseInfoMapper.getParticularsId(caseId);
    }

    @Override
    public List<CaseInfo> getCasefindAll(CaseInfo caseInfo) {
        return apicaseInfoMapper.getCasefindAll(caseInfo);
    }
}
